Method and architecture for automated analysis and design

ABSTRACT

A method and architecture for calculating input values for use in automated analysis and design during the various stages of the design process includes smart defaults. Specific parameter types are defined, some of which are adapted to be specified, or if not specified, calculated by the smart defaults. A tree structure is provided for determining parameter relationships in order to calculate parameter values. The tree structure uses a specific routine to call a smart default each time a parameter value is to be determined, and values are thereby calculated independent of the order of the data inputs.

FIELD OF THE INVENTION

[0001] The present invention relates generally to design and analysis systems, and more particularly to a method and architecture for determining design and analysis parameters for use during various stages of a design process.

BACKGROUND OF THE INVENTION

[0002] The design of many modern systems (e.g., complex aircraft design) continue to grow in size and complexity, such that automation of the processes involved are crucial. As a result, attempts have been made to improve the efficiency of the design process through automation. In particular, the area of multidisciplinary optimization (MDO) attempts to improve the design process by exploiting interactions between different disciplines and components. Design flexibility and reusability of interfaces is essential to improving MDO.

[0003] Software products for automating design and/or model assembly by wrapping an additional interface layer (e.g., coded logic) around an analysis package (e.g., Analysis Server® by Phoenix Integration and iSight by Engineous Software, Inc.) are known. However, because of the increasing capabilities of computers and the software that runs on them, the design problems that must be addressed by MDO continue to increase in size and complexity. Specifically, the number of design variables, constraints and disciplines for the typical MDO problem is increasing (e.g., problems may include hundreds of design variables). For example, the code required for a scramjet combustion analysis and design may require over 100 inputs to specify geometry, boundary conditions and run option parameters. A user at the vehicle conceptual design stage may only specify a few input variables, with a software code wrapper component created to define all remaining variables as constants or complex functions of the specified inputs. However, if the user decides to use a different set of inputs, new logic and/or functions must be coded into the wrapper for every set of design variable combinations that changes as a result of the new set of inputs. The flexibility of the wrapped code is limited.

[0004] Known software products that automate model assembly by wrapping an additional interface layer around analysis packages traditionally provide analysis code automation using scripting languages (e.g., UNIX, PERL, Tcl, etc.). Users must explicitly define the hierarchical relationship between variables (e.g., by writing an intermediate script that calculates dependent input parameters in the proper order).

[0005] Still other systems have been developed to provide user-friendly software tools to enable users to automate analysis codes by pointing and clicking on a Graphical User Interface (GUI) or by using a semi-graphical interface, instead of programming in a lower level scripting language. Essentially, these systems attempt to reduce the expertise level required to wrap codes. However, such systems fail to provide design flexibility throughout the entire design process (i.e., from the conceptual design stage through the preliminary and detailed design stages).

[0006] Different needs must also be met at each design level. For example, at the conceptual design stage, a typical user of analysis software is a systems engineer with limited knowledge of software code. Thus, few, if any, design variables will be changed. Only default values are required for the majority of input values for the analysis program. These default values are typically chosen to provide good predicted performance, good solution quality and robust solution convergence. However, the detailed design stage may involve a more knowledgeable user that desires to override default values to refine a particular design. Default values or functions may be readily defined for dependent input parameters that are a function of selected input parameters. However, as the analysis problem becomes more complex, some dependent input parameters are functions of one or more other dependent input parameters or variables. Thus, the relationship between parameters and/or variables rapidly becomes complex and extremely difficult to define by a user.

[0007] Thus, known systems for wrapping design/analysis software are time-consuming, prone to errors, restrict the flexibility of the wrapped software module because of hard-coded logic and make module maintenance extremely difficult. For design and analysis problems that contain a large number of input parameters, the determination of the order of parameter calculation requires complex evaluation of all variables. Further, customization is required to reuse the wrapped software modules in connection with different design/analysis problems and applications (i.e., extremely limited plug-and-play reusable module support).

SUMMARY OF THE INVENTION

[0008] The present invention provides a method and interface for use in all stages of a design and analysis process to determine parameter values. Generally, the present invention provides automation or “wrapping” of code (the “wrapper”) around an analysis program to create flexible plug-and-play interfaces for wrapped software code, as well as maximizing the potential for reusing the wrapped software. The invention further simplifies the wrapping of complex codes having many interdependent input parameters using a recursive branching algorithm to automatically determine the relationships between input parameters. Input parameters may be specified explicitly or computed by the wrapper using default functions depending upon the requirements of a particular application or of the particular design stage. Thus, the present invention provides for ease in changing a design problem definition.

[0009] The present invention provides smart defaults for more flexible and robust analysis code operation. These smart defaults enable experienced engineers to wrap their knowledge around the analysis code. In addition, defining different data parameter types, which are used by the recursive branching algorithm, provides simplified specification of complex variable relationships, thereby enhancing the maintainability of wrapped software. Thus, initial wrapping of large problems with complex relationships between variables is simplified, while engineering flexibility after the code has been wrapped is maximized. Further, the number of parameters that a user must specify to run the code is reduced, which is particularly beneficial for less experienced users.

[0010] The present invention provides for overriding smart defaults if desired (e.g., by experienced users). For example, an engineer may choose to optimize a design project based upon a selected set of independent design parameters, relying on the wrapper to calculate the remaining input parameters using smart defaults. However, the engineer may then attempt to improve the design by performing a secondary optimization in which a different set of independent parameters is varied. A wrapped software module of the present invention is not only adapted for plug-and-play adaptability to any changes, but is flexible in all modes of operation because relationship hierarchies for parameters are determined “on the fly” based upon user input changes. Essentially, calculated dependent parameters (i.e., smart defaults) are defined based upon local parameter relationships. The order of parameter calculation is determined automatically “on the fly”. More specifically, global parameter relationship hierarchy is automatically determined based upon the specification of local parameter relationships.

[0011] The smart defaults calculate unspecified parameters based in part on parameter types (e.g., calculates optional parameters not specified). Other parameter types are preferably provided that restrict any overriding or specifying of particular values by, for example, a user, such as those parameter types calculated by the smart defaults using internal functions and values.

[0012] Thus, the present invention provides a method for wrapping analysis code to thereby create a flexible interface that enhances plug-and-play modularity, simplifies the specification of complex variable relationships and enhances maintainability of wrapped software. The wrapped analysis code (i.e., the wrapper) automatically determines the relationship between all potential input parameters preferably using a recursive branching algorithm, with specific parameter types defined. The parameter values are calculated using the determined parameter relationships. Any unspecified input parameters (e.g., optional parameters) are determined using smart defaults of the present invention.

[0013] Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:

[0015]FIG. 1 is a flow diagram showing the different requirements for an interface at different design levels;

[0016]FIG. 2 is a block diagram showing a typical method for calculating smart default parameter values in a wrapped software module;

[0017]FIG. 3 is a block diagram showing a typical interface for a wrapped software module;

[0018]FIG. 4 is a block diagram showing a wrapper constructed according to the principles of the present invention;

[0019]FIG. 5 is a block diagram showing a method for calculating parameter values in a wrapped software module according to the present invention;

[0020]FIG. 6 is a block diagram of an interface for a wrapped software module according to the present invention;

[0021]FIG. 7 is a branching structure for determining parameter values according to the present invention;

[0022]FIG. 8 is a block diagram showing an example of parameter relationships having multiple dependencies; and

[0023]FIG. 9 is a tree structure for determining the parameter values of FIG. 8 according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] The following description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. Thus, although the application of the present invention as disclosed herein is described in connection with specific examples, including using specific structures or algorithms, it is not so limited and may be provided in connection with different applications.

[0025] Referring to FIG. 1, a typical design project using an analysis package is shown generally therein and indicated by reference numeral 20. A design project typically begins at a conceptual design stage 22, proceeds to a preliminary design stage 24 and ends at a detailed design stage 26. As shown therein, as the design process proceeds from one stage to the next, the level of user expertise required typically increases (e.g., more user modification of variables) and the reliance on the analysis program's wrapper functions (e.g., reliance on smart default values) typically decreases as a result of the user intervention.

[0026] The present invention provides a more flexible code wrapping method and architecture which forms an interface for use during the design process 20 in combination with, for example, an analysis package. As shown in FIG. 2, defining smart defaults to compute values based upon input parameters typically required a manual determination of the relationship hierarchy between parameters, with a script or macro manually provided to define the order of parameter calculation at 28. User intervention (e.g., creating a scripting program) at 30 provided the functionality for defining hard-coded logic at 32 based upon smart defaults at 34. Smart default parameters are functions of other independent input parameters and the interface is hard-coded to accept certain parameters and to always calculate a specific predefined set or sets of default input parameter values. Thus, a wrapped code module 36 (i.e., a wrapper) having an interface accepting only specific inputs 38 and requiring reprogramming to override a smart default 34 was thereby provided as shown in FIG. 3.

[0027] The present invention provides a software wrapper 40 and/or architecture (e.g., an interface), and method of providing the same that incorporates smart defaults 42 based upon engineering expertise. Smart defaults provide the opportunity for experienced engineers to wrap their knowledge around analysis code. Referring specifically to FIG. 4, the present invention provides smart defaults 42 for calculating input values for an analysis software input interface 44 (e.g., input files, CORBA, remote procedure calls, etc.) based in part upon selected input parameters 46, and automatically determines parameter relationships for calculations. The wrapper 40 uses the specified input parameters 46 and derived input parameters 48, calculated by smart defaults 42, to provide the input parameter values 48 to the analysis software input interface 44 for use by, for example, an analysis package. Preferably, the present invention is provided as a software wrapper 40 for an analysis component 50 of an analysis package, which implements a method that communicates input parameters 48 to the input interface 44 and provides selected output values 54 (e.g., design values) via the output interface 52 (e.g., output files, CORBA, remote procedure calls, etc). It should be noted that the analysis component 50, or software program, may be provided in any known manner as required by the specific design requirements

[0028] As shown in FIG. 5, a wrapper 40 provided by the present invention preferably calculates dependent parameters (e.g., dependent parameters based upon other dependent parameters) based upon local parameter relationships without requiring explicit specification of the order of parameter calculation (i.e., global parameter relationships determined automatically). An automated computer algorithm 56 preferably uses the smart defaults 42 to calculate all parameter values based upon specified and unspecified input parameters, preferably by descending a parameter hierarchy tree 58. The wrapper 40 of the present invention may be provided with a combination of different inputs 60, 62, 64 as shown in FIG. 6 (e.g., not all values specified), and determine unspecified parameter values as needed.

[0029] For example, and referring to FIG. 6, if the parameters to be calculated include A, B, C, D, and E, with A and B required to be specified, and if the wrapper 40 is provided with the inputs 60 (i.e., A, B and D specified), the wrapper 40 will determine the values for the unspecified parameters C and E as described herein. If the wrapper 40 is provided with the inputs 62 (i.e., A, B, D and E specified), the wrapper 40 will determine the value for the unspecified parameter C. If the wrapper 40 is provided with the inputs 64 (i.e., A, B, C and E), the wrapper will determine the value of the unspecified parameter D. It should be noted that if the required parameters A and B are not specified (e.g., by a user), then the wrapper 40 preferably provides a notification that operation is not possible (e.g., required parameters must be specified).

[0030] The use of the recursive branching algorithm 58 as described herein provides for determining parameter relationship and calculating the values of any unspecified non-required parameters. More preferably, the branching algorithm 58 automatically determines a global parameter structure, such as if one parameter is dependent upon other parameters, which may be independent or dependent parameters, based upon local parameter relationships. The branching algorithm 58 then executes the needed functions (i.e., smart defaults 42) in an automatically determined order to calculate all of the parameter values.

[0031] As shown in FIG. 7, a subroutine 66 is preferably provided within the wrapper 40 and is executed by the wrapper 40 when needed. The wrapper 40 preferably calls the subroutine 66 to determine parameter values each time a parameter value is to be calculated (i.e., parameter relationships are determined and parameter values calculated). The subroutine 66 determines the parameter values based upon parameter types and parameter status, making use of smart defaults 42 as necessary.

[0032] The pseudo-code for a particularly preferred algorithm 58 for use with a wrapper 40 is provided as follows:

[0033] If parameter is invalid (undefined)

[0034] return with appropriate error message;

[0035] If parameter type is “required”

[0036] return specified parameter value;

[0037] If parameter type is “optional”

[0038] If parameter status is “initialized”

[0039] return parameter value specified by user (smart default override) or previously computed smart default value;

[0040] Otherwise

[0041] call appropriate smart default function (to compute parameter value)

[0042] set parameter status to “initialized” (will not compute again)

[0043] return parameter value (computed using smart default);

[0044] If parameter type is “locked”

[0045] If parameter status is “initialized”

[0046] return previously computed smart default value;

[0047] Otherwise

[0048] call appropriate smart default function (to compute parameter value)

[0049] set parameter status to “initialized” (will not compute again) return parameter value (computed using smart default)

[0050] Preferably, if the subroutine 66 calls a smart default 42 function to determine the value of a parameter, and the function is dependent on other parameters, then the subroutine 66 is called to determine the value of each dependent parameter, which themselves may be dependent on other parameters as defined by the associated smart default 42 function or functions (i.e., indirect recursion). Thus, as shown in the example of FIG. 7, the wrapper 40, in order to calculate the value of the parameter C, must determine the values of the parameters A, B and D, upon which it is dependent. Parameters A and B are specified values (e.g., optional parameters or required parameters specified by a user) and returned by the subroutine 66. Parameter D is dependent upon parameters A and E and the wrapper 40 calls the subroutine 66 to determine the value of parameters A and E. Parameter A is a specified value and returned by the subroutine 66. Parameter E is based upon parameters A and B, which are both specified values and returned by the subroutine 66. Thus, by calling the subroutine 66 each time a parameter value is to be determined, the order of parameter calculation does not have to be specified. The subroutine 66 executes smart defaults 42 to calculate unspecified parameters as needed.

[0051] It should be noted that returning a value refers to the wrapper 40 providing a calculated parameter value or specified parameter value using known software programming methods. For example, in object-oriented programming, a parameter object may have a default method named “value,” that when invoked, computes the value of the parameter and hands it back (i.e., returns) to the statement that invoked the “value” method. When referring to calling a function or routine, this means using known software programming methods to execute the function or routine. For example, this may be a simple “call” made in FORTRAN or Perl, or a method could be invoked in an object-oriented language.

[0052] A wrapper 40 of the present invention preferably includes defined input parameter types. The parameter types are preferably defined during the initial wrapping process by a user, and may include, for example, the following:

[0053] (1) Required Parameter—input parameter must be specified

[0054] (2) Optional Parameter—input parameter may be specified, otherwise if unspecified, calculated using smart defaults 42;

[0055] (3) Locked Parameter—input parameter is calculated internally using smart defaults 42.

[0056] Additional parameter types may be provided. For example, an output parameter type may be defined that determines the calculated values to output from the analysis software package.

[0057] It should be noted that a parameter is assigned the status of “initialized” once the parameter is calculated internally by a smart default 42 function or explicitly specified as an input to the wrapped module. As described herein, both required and optional parameters may be specified. If the status of optional or locked parameters is not set to initialized, the parameters are preferably re-calculated the next time the value is requested by the subroutine 66.

[0058] It should also be noted that required parameters and any desired parameter overrides (e.g., overrides of optional parameters) must be specified before a wrapper 40 of the present invention may determine the remaining locked and unspecified optional input parameters. A parameter value may be specified from one of a plurality of sources, including, for example: (1) defined directly by a user; (2) linked from the output of an upstream analysis module; or (3) provided by a software framework launching the wrapped analysis module.

[0059] Smart default 42 preferably refers to the specific programming provided as part of the wrapper 40 (e.g., coded engineering expertise) and may be created using, for example, a scripting language (e.g., PERL, Python, etc.). Depending upon the needs of the analysis program and the parameters to be calculated, the smart defaults 42 may include, for example, any type of executable routines having simple constants and/or advanced mathematical functions (e.g., predetermined functions). The scripting language may support a set of intrinsic mathematical functions, conditional statements and other programming functionality (e.g., “for” loops) for use in defining the smart defaults 42. Alternately, an external program may be provided for use by a smart default 42 in calculating a parameter value.

[0060] Input parameters are preferably checked for consistency with the defined parameter types and associated wrapper 40 rules (i.e., locked and required parameter checks) upon execution of a software module incorporating the wrapper 40. More preferably, automatic checks are performed to identify whether additional parameters need to be specified and/or whether locked parameters have been improperly specified. For example, if a required parameter has no specified value, upon execution of a software module having the wrapper 40, an indication is provided as to this condition (e.g., user interactively prompted to enter parameter value or return an error message and halt the program). As another example, if a locked parameter has been specified, an indication is provided as to this condition, such as an appropriate warning or error message. Alternately, consistency checks may be provided by the framework employing a wrapper 40, such as with a user interface.

[0061] The architecture (e.g., interface) and method of the present invention for creating a wrapper 40 may be provided with additional functionality, including, but not limited to, new and/or additional parameter types, a GUI, different input/output interface techniques and/or modification to the branching algorithm 58. Instead of incorporating the architecture and method of the present invention into a wrapper 40, all or part thereof may be provided as part of an existing framework (e.g., an MDO framework, automated analysis/design framework, etc.).

[0062] In operation, a wrapper 40 of the present invention determines a set of values for an analysis component 50 input interface 44 using specified parameters and unspecified calculated parameters such as those calculated using the smart defaults 42. The values of the unspecified parameters may be determined based upon other specified and/or unspecified parameters. For example, the present invention may be implemented to determine a set of input values for making pink lemonade. Specifically, to produce pink lemonade, the following functions (i.e., defining local relationships) may be specified to determine and/or define the quantity of each ingredient and container size needed (i.e., to determine the input values based upon the relationships of the inputs):

[0063] Water (cups) 2*(sugar (cups)+lemon juice (cups))

[0064] Lemon Juice (cups)=4.5*number of lemons

[0065] Ice Cubes (quantity)=1.5*water (cups)

[0066] Sugar (cups)=0.75* lemon juice (cups)

[0067] Raspberry Juice (cups)=0.5*lemon juice (cups)

[0068] Serving Container (pints)=0.5*(water (cups)+lemon juice (cups)+raspberry juice (cups)+sugar (cups))+(0.1*ice cubes (quantity))+1

[0069] The global structure 70 needed to define the relationship among the parameters for making pink lemonade based upon the above local equations is shown in FIG. 8. As shown therein, the parameter relationships include multiple dependencies. By generating the tree structure 58 “on the fly” in combination with smart defaults 42 and defined parameter types of the present invention, a wrapper 40 determines a specific parameter value based upon other independent or dependent parameters.

[0070] For example, if the quantity of water is to be determined, the tree structure 72 as shown in FIG. 9 may be provided by a wrapper 40 of the present invention. Specific parameter types may be defined. For example, “LEMONS” is required and “WATER” and “SERVING CONTAINER” are locked, while the remaining smart default functions are optional. The quantity of sugar, water, ice cubes, and ultimately serving container size is determined based upon the values of dependent parameters (i.e., lemon juice) and independent parameters (i.e., lemons). The wrapper 40 calculates parameter values based upon the local relationships of the parameters as shown in the smart default equations (i.e., functions) above using the tree structure 72 and calling a subroutine 66 each time a parameter value is to be calculated with a smart default 42.

[0071] Although the present invention is described as a wrapper 40 in connection with analysis programs, it should be appreciated that different or additional components may be provided as part of the wrapper 40 depending upon the particular system requirements, as in the above example, the wrapper computes inputs for a lemonade making apparatus or recipe-generating software. Further, external functionality for defining parameter types and monitoring parameter specification may be provided. Also, although parameter relationships and calculation are determined based in part on a dynamically generated structure, other structures may be provided. A wrapper 40 constructed according to the principles of the present invention may be used in combination with software modules or may be embedded within hardware components.

[0072] The description of the invention is merely exemplary in nature and, thus, variations that do not depart from the gist of the invention are intended to be within the scope of the invention. Such variations are not to be regarded as a departure from the spirit and scope of the invention. 

What is claimed is:
 1. A method of providing a plurality of parameter values to an interface requiring the plurality of parameter values, the parameter values based upon data inputs including required data inputs and optional data inputs, the method comprising the steps of: receiving required data input values and specified optional data input values; performing predetermined functions to calculate data input values for non-specified optional data inputs, wherein the calculations are performed independent of the order of the data inputs; using the calculated values for the non-specified optional data inputs and the values for the required data inputs and specified optional data inputs to determine at least some of the plurality of parameter values; and providing the plurality of parameter values for use by the interface.
 2. The method according to claim 1 wherein the data inputs further comprise locked data inputs, and further comprising calculating the values of at least some of the locked data inputs using the predetermined functions.
 3. The method according to claim 2 further comprising receiving values for at least some of the non-specified optional data inputs and using the calculated values and received values of the optional data inputs to determine some of the plurality of parameter values.
 4. The method according to claim 2 further comprising providing an error indication if a value is input for any of the locked data inputs.
 5. The method according to claim 1 wherein the required data inputs comprise user specified data inputs and predetermined stored data inputs and further comprising checking to ensure that all required data inputs are specified.
 6. The method according to claim 5 further comprising providing an error indication if a value is not input for any of the user specified required data inputs.
 7. The method according to claim 1 wherein the values of at least some of the required data inputs are provided from a computer program and further comprising confirming the entry of values for the required data inputs from the computer program.
 8. The method according to claim 1 wherein the plurality of input parameter values are used by an analysis program and wherein the step of providing the plurality of parameter values further comprises configuring the values for use by the analysis program.
 9. The method according to claim 8 further comprising providing the predetermined functions as a component of a wrapped program for use with the analysis program.
 10. The method according to claim 1 wherein the step of performing predetermined functions further comprises recursively performing the predetermined functions.
 11. The method according to claim 10 further comprising employing a branching structure for recursively performing the predetermined functions.
 12. A method of providing a wrapped component as part of a software program, the wrapped component using data parameters to determine values for a plurality of inputs required by the software program, the method comprising the steps of: employing a plurality of data parameter types for use in determining the plurality of inputs; identifying the data parameters based upon parameter type; receiving values for at least some of the data parameters of a specific parameter type; calculating values for at least some of the data parameters of a specific parameter type using predetermined functions and independent of the order of the data parameters and the order of function specification; determining values for at least some of the plurality of inputs for use by the software program based upon the data parameter values; and providing the plurality of input values from the component to the software program.
 13. The method according to claim 12 wherein the step of calculating values comprises recursively using the predetermined functions to calculate the values.
 14. The method according to claim 12 wherein the step of employing a plurality of data parameter types comprises using specified data parameters and fixed data parameters.
 15. The method according to claim 12 wherein the step of employing a plurality of data parameter types comprises using optional data parameters and required data parameters.
 16. The method according to claim 15 further comprising specifying at least some of the optional data parameters.
 17. The method according to claim 16 wherein the step of calculating values for at least some of the parameters further comprises calculating values for optional data parameters not specified.
 18. A method for determining the value of each of a plurality of parameters for use as an input file to a computer program, the parameters including required and optional parameters, and the method comprising the steps of: determining the specific parameters to provide as part of the input file; receiving values for the required parameters and any optional parameter having a specified value; checking that values for the required parameters to be included as part of the input file are specified, and if not specified, providing an error indication; identifying optional parameters not specified to be included as part of the input file; calculating the value of each of the identified non-specified optional parameters independent of the order of the parameters; and providing parameter values as part of the input file for use by the computer program.
 19. The method according to claim 18 wherein the parameters further comprise locked parameters and the method further comprises calculating the value of at least some of the locked parameters.
 20. The method according to claim 19 further comprising providing an error indication for a locked parameter that is input.
 21. The method according to claim 18 further comprising employing a recursive branching structure for calculating the identified non-specified optional and locked parameter values.
 22. The method according to claim 21 further comprising automatically determining the order of parameter calculation.
 23. An interface for guiding a user to provide a data set to a complex computer program, and providing the data set to the complex computer program, the interface comprising: means for accepting input of at least one required user input from a user; means for accepting input of at least one optional user input from a user, and in the absence of an input of an optional user input, calculating a default input based upon a predetermined formula using a recursive algorithm; and means for providing the data set of inputs to the complex computer program.
 24. The interface according to claim 23 wherein the predetermined formula for calculating the default input depends upon at least one mandatory user input.
 25. The interface according to claim 23 further comprising means for generating at least one locked input.
 26. The interface according to claim 25 wherein the means for generating at least one fixed input comprises means for calculating the at least one locked input based upon at least one required user input.
 27. The interface according to claim 25 wherein the means for generating at least one locked input comprises means for calculating the at least one locked input based upon at least one optional user input.
 28. An interface for guiding a user to provide a data set to a complex computer program, the interface comprising a processor programmed to accept inputs of at least one required user input from a user and to accept inputs of at least one optional user input from a user, and to calculate a default input in the absence of an input of an optional user input.
 29. A method of providing inputs to a complex computer program, the method comprising: accepting required user inputs from a user; and accepting optional user inputs from the user, and in the absence of an input for an optional user input, calculating an input based upon a predetermined formula using a recursive algorithm. 